package com.clouds.wms.service;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.clouds.wms.bean.Cmsmk;
import com.clouds.wms.dao.CmsmkDao;
import com.clouds.wms.exception.SysException;
import com.clouds.wms.util.PagesBean;

@Service("cmsmkService")
public class CmsmkServiceImpl implements CmsmkService {

	@Resource(name="cmsmkDao")
	private CmsmkDao cmsmkDao;

	@Override
	public long saveCmsmk(Cmsmk cmsmk) throws SysException {
		return cmsmkDao.saveCmsmk(cmsmk);
	}

	@Override
	public PagesBean getCmsmkList(String start, String end, String mkad, int offset, int pageSize) throws SysException {
		return cmsmkDao.getCmsmkList(start, end, mkad, offset, pageSize);
	}

}
